import UIBase from "../view/UIBase";
import UIMgr from "../view/UIMgr";
import EGUITask from "./EGUITask";


export default class EGUIBag extends UIBase {
    protected onInit(): void {
        this.skinPath = 'mi/example/EGUIBag';
    }

    protected onButtonClick(button: cc.Button): void {
        switch (button.node.name) {
            case 'BtnUITask':
                UIMgr.open(EGUITask);
                break;
        }
    }
}
